const fs = require("fs");
const path = require("path");

var filePath = path.join(__dirname,"/1.txt");

var fileContent = fs.readFileSync(filePath);//同步方法
console.log(fileContent.toString());
console.log("同步代码执行");